﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using COM.OA.Entity;
using COM.OA.BLL;
using System.Collections.Generic;

public partial class qs_wenjian_chakanhuifu : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack) {
       string id= this.Request.QueryString["f_takeu_id"];
       int jieshouid = Int32.Parse(id);
      
        string where1 = "fre_u_id='{0}'";
       where1 = string.Format(where1, jieshouid);


       IList<filerevert> listhuifu = filerevertBLL.Select(where1);


       filerevert fh = listhuifu[0];
       this.txtFHneirong.Text = fh.fre_content;
       this.txtHuiTime.Text = fh.fre_reverttime.ToString();

        


        //文件名ID查名
       int fnameid = fh.fre_f_id;
       string where2= "f_id='{0}'";
       where2 = string.Format(where2, fnameid);
       IList<files> listhf = filesBLL.Select(where2);
       files fs = listhf[0];
        //回复的文件名
       this.lbFNameId.Text = fs.f_filename;
   }
        
    }
}
